package classexercise;

public class Circle2 implements GeometricObject {
  double radius=1.0;
    public Circle2(double radius){
    	this.radius=radius;
    }

	public double getPerimeter() {
		return 2*Math.PI*radius;
	}


	public double getArea() {
		return Math.PI*radius*radius;
	}

}
